package com.yanqu.road.server.gameplayer.module.cricket.model;


import com.yanqu.road.pb.cricket.CricketProto;

public class CricketWaitHandleBattleLog {

    public static CricketWaitHandleBattleLog getInstance() {
        return new CricketWaitHandleBattleLog();
    }

    private int season;

    private long originServerId;

    private long originId;

    private long userId;

    private CricketProto.CricketDefendBattleLogReqMsg battleLog;

    public String getKey() {
        return String.format("%d_%d_%d", this.season, this.originServerId, this.originId);
    }

    public int getSeason() {
        return season;
    }

    public void setSeason(int season) {
        this.season = season;
    }

    public long getOriginServerId() {
        return originServerId;
    }

    public void setOriginServerId(long originServerId) {
        this.originServerId = originServerId;
    }

    public long getOriginId() {
        return originId;
    }

    public void setOriginId(long originId) {
        this.originId = originId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }


    public CricketProto.CricketDefendBattleLogReqMsg getBattleLog() {
        return battleLog;
    }

    public void setBattleLog(CricketProto.CricketDefendBattleLogReqMsg battleLog) {
        this.battleLog = battleLog;
    }
}

